<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			.box{
				width: 900px;
				height: 300px;
				border: 1px solid #333;
				
				display: flex;		/*父元素display:flex*/
				flex-direction: column;		/*主轴调整为竖直方向*/
				
				/*主轴方向排列*/
				justify-content: center;
				justify-content: space-around;
				justify-content: space-between;		
				
				/*侧轴方向的排布。因为flex-direction设置为column,所以侧轴方向是水平*/
				align-items: center;
				align-items: flex-start;
				align-items: flex-end;
				
				
			
			}
			.item{
				width: 150px;
				height: 50px;
				background: orangered;
				border: 1px solid #fff;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="item">001</div>
			<div class="item">002</div>
			<div class="item">003</div>
		</div>
	</body>
</html>
